<?php

use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;


//验证码
Route::get('/captcha', 'CaptchaController@index');
//上传
Route::group(['prefix' => 'upload'], function(){
    Route::post('/image', 'UploadController@image')->name('api.upload.image');//图片
    Route::post('/file', 'UploadController@file')->name('api.upload.file');//文件
});
//公司
Route::group(['prefix' => 'company'], function(){
    Route::get('/', 'CompanyController@index');//列表
    Route::get('/info', 'CompanyController@info');//详情
});
